package praktikumid.p07_e;

public class Car extends Vehicle {
	public int wheels;
	public int seats;
	
	private int doors = 2;
	
	private int price = 0;
	//protected int protectedSeats = 1;
	
	//public int maxSpeed = 200;
	
	public Car(String make, String model) {
		this.make = make;
		this.model = model;
		maxSpeed = 200;
	}
	
	public void drive() {
		System.out.println("car drives");
		//this.make = "tere";
		//super.drive();
	}
	
	public int getDoors() {
		return doors;
	}
	
	public void setDoors(int doors) {
		this.doors = doors;
	}
	
	public int getPrice() {
		return price;
	}
	
	public void setPrice(int price) {
		this.price = price;
	}
	/*public void printOut() {
		System.out.println(make + " " + model + " " + maxSpeed);
	}*/
}
